import { babel } from "@rollup/plugin-babel";

export default [
  {
    input: "debug/src/index",
    /** @type {import("rollup").OutputOptions} */
    output: {
      file: "debug/app.js",
      format: "iife",
      sourcemap: true,
    },
    plugins: [
      babel({
        babelHelpers: "bundled",
        targets: "defaults and fully supports es6-module",
        plugins: ["@babel/plugin-transform-react-jsx"],
      }),
    ],
  },
];
